'''
Created on 30.01.2012

@author: myaut
'''

import sys

sys.path.append('../../lib')

from salsa.coresvc import Core

import signal
import traceback

signal.signal(signal.SIGUSR1, lambda sig, stack: traceback.print_stack(stack))

core = Core()

try:    
    core.start()
    core.join()
finally:
    core.stop()